<div class="form-group">
    <label class="col-sm-2 control-label"><span class="form-required"></span> {$field_name}:</label>
    <div class="col-md-6 col-sm-10">
        <if $dataType==2>
            <volist name="field_keys" id="ao">
                <input <literal><if isset($vo.</literal>{$field})&&<literal>in_array(</literal>'{$ao.id}'<literal>,explode(',',$vo.</literal>{$field}))>checked <literal></if></literal> type="checkbox" name="{$field}[]" value="{$ao.id}" id="{$field}_{$key}">&nbsp;<label for="{$field}_{$key}">{$ao.name}</label>&nbsp;&nbsp;
            </volist>
        <else/>
        <literal> <volist name="</literal>{$field}_arr" id="ao">
            <input <literal><if isset($vo.</literal>{$field})&&<literal>in_array($ao.</literal>{$fields_value[0]}<literal>,explode(',',$vo.</literal>{$field}))>checked <literal></if></literal> type="checkbox" name="{$field}[]" value="<literal>{$ao.</literal>{$fields_value[0]}<literal>}</literal>" id="{$fields_value[0]}_<literal>{$key}</literal>">&nbsp;<label for="{$fields_value[0]}_<literal>{$key}</literal>"><literal>{$ao.</literal>{$fields_value[1]}<literal>}</literal></label>&nbsp;&nbsp;
            <literal></volist></literal>
        </if>
    </div>
</div>